package com.zareal.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @description:
 * @author: Bug修复机
 * @date: 2022年10月15日 ： 11:29
 * @version: ver1.0
 * @email tangli@itsource.cn
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseOrderDto {

    @NotEmpty
    private List<Long> courseIds;

    @NotNull
    private Integer payType;

    @NotNull
    private String token;

    @NotNull
    private Integer type;

}
